package com.jic.manager.mapper;

import com.jic.manager.entity.SysCarouselFigure;
import com.jic.conf.request.SysCarouselFigureRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 轮播图管理
 * @author : 
 * @email : 
 * @since : 2020-02-26 01:51:48
 * @version : v1.0.0
 */
@Mapper
public interface  SysCarouselFigureMapper {

    long insert(SysCarouselFigure sysCarouselFigure);

    long delete(Long id);

    long update(SysCarouselFigure sysCarouselFigure);

    SysCarouselFigure queryByPrimaryKey(Long id);

    List<SysCarouselFigure> query(SysCarouselFigure sysCarouselFigure);

    List<SysCarouselFigure> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("request") SysCarouselFigureRequest request);

    long queryPageCount(@Param("request") SysCarouselFigureRequest request);
}